package com.aj.mapper;

import java.util.List;

import com.aj.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author aj
 * @since 2020-08-03
 */
public interface ArticleMapper extends BaseMapper<Article> {
	public List<Article> getList();
	public List<Article> getListByTag(long tid);
	public List<Article> search(String keyword);
	public void addArticle(Article a);
	public void updateArticle(Article a);
	public void deleteArticle(Article a);
	
}
